package com.site.wisdom_construction.entity.healthEpidemicModel;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-05-07 
 */
@ApiModel (value ="定位手环血氧历史数据表实体类" ,description = "BloodOxygenHistory")
public class BloodOxygenHistory {
	/**
	 * 定位手环血氧历史数据ID
	 */
   	@ApiModelProperty(value = "定位手环血氧历史数据ID", name = "id")
	private Integer id;

	/**
	 * 项目ID
	 */
   	@ApiModelProperty(value = "项目ID", name = "projectId")
	private Integer projectId;

	/**
	 * 设备号
	 */
   	@ApiModelProperty(value = "设备号", name = "equipmentNumber")
	private String equipmentNumber;

	/**
	 * 血氧
	 */
   	@ApiModelProperty(value = "血氧", name = "bloodOxygen")
	private String bloodOxygen;

	/**
	 * 状态(正常 异常)
	 */
   	@ApiModelProperty(value = "状态(正常 异常)", name = "status")
	private String status;

	/**
	 * 上传时间
	 */
   	@ApiModelProperty(value = "上传时间", name = "uploadTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd HH:mm:ss")
	private Date uploadTime;

	public BloodOxygenHistory(){ super(); }

	public BloodOxygenHistory(Integer id, Integer projectId, String equipmentNumber, String bloodOxygen, String status, Date uploadTime) {
		this.id = id;
		this.projectId = projectId;
		this.equipmentNumber = equipmentNumber;
		this.bloodOxygen = bloodOxygen;
		this.status = status;
		this.uploadTime = uploadTime;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return this.projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getEquipmentNumber() {
		return this.equipmentNumber;
	}

	public void setEquipmentNumber(String equipmentNumber) {
		this.equipmentNumber = equipmentNumber;
	}

	public String getBloodOxygen() {
		return this.bloodOxygen;
	}

	public void setBloodOxygen(String bloodOxygen) {
		this.bloodOxygen = bloodOxygen;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getUploadTime() {
		return this.uploadTime;
	}

	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}

	@Override
	public String toString() {
		return "{" +
				"id='" + id + '\'' +
				", projectId='" + projectId + '\'' +
				", equipmentNumber='" + equipmentNumber + '\'' +
				", bloodOxygen='" + bloodOxygen + '\'' +
				", status='" + status + '\'' +
				", uploadTime='" + uploadTime + '\'' +
				'}';
	}
}
